﻿using System;
using System.ComponentModel;

namespace Model
{
    /// <summary>
    /// 订单
    /// </summary>
    public class Orders :BaseModel
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        [DisplayName("订单编号")]
        public string OrderID { get; set; }

        /// <summary>
        /// 用户编号
        /// </summary>
        [DisplayName("用户编号")]
        public string UserID { get; set; }

        /// <summary>
        /// 图书编号
        /// </summary>
        [DisplayName("图书编号")]
        public string BookID { get; set; }

        /// <summary>
        /// 销售人员
        /// </summary>
        [DisplayName("销售人员")]
        public string CopUser { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        [DisplayName("订单金额")]
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [DisplayName("数量")]
        public int Num { get; set; }

        /// <summary>
        /// 预定时间
        /// </summary>
        [DisplayName("预定时间")]
        public DateTime BookingTime { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        [DisplayName("订单状态")]
        public string BookingStatus { get; set; }
    }
}
